#define _CRT_SECURE_NO_WARNINGS
#include "speechManager.hpp"
#include "speaker.hpp"
#include <iostream>


int main()
{
	SpeechManager sp;
	

	while (true)
	{
		sp.showMenu();
		int option;
		std::cin >> option;

		switch (option)
		{
		case 1:	//Start the contest
			sp.startSpeech();

			break;
		case 2: // Check the records before
			break;
		case 3:	// Clear the records
			break;
		case 0:
			sp.exitSystem();
			break;
			
		default:
			std::cout << "The wrong option,please try again." << std::endl;
			system("pause");
			break;
		}
	}
	return 0;
}
